#
# HoI - Italy Events
#
#		written by Henrik Fhraeus
#
#The return of provinces from Italy to Vichy is needed, this one lets ITA keep Grenoble, Toulon, and Bastia if they conquer them but other mainland FRA or Algerian provs are returned.
#########################################################################
#  Vichy France - Return of Italian occupied provinces
#########################################################################
event = { 
	id = 2900
	random = no
	country = ITA
	
	trigger = {
		exists = VIC
		alliance = { country = GER country = ITA }
	} 
	
	name = "EVT_2900_NAME"
	desc = "EVT_2900_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 4
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "OK" # Return occupied provinces as per agreement
		command = { type = control which = VIC value = 545 }
		command = { type = control which = VIC value = 915 }
		command = { type = control which = VIC value = 917 }
		command = { type = control which = VIC value = 923 }
		command = { type = control which = VIC value = 926 }
		command = { type = control which = VIC value = 927 }
		command = { type = control which = VIC value = 928 }
		command = { type = control which = VIC value = 929 }
		command = { type = control which = VIC value = 934 }
		command = { type = control which = VIC value = 935 }
		command = { type = control which = VIC value = 944 }
		command = { type = control which = VIC value = 945 }
		command = { type = control which = VIC value = 947 }
		command = { type = control which = VIC value = 949 }
		command = { type = control which = VIC value = 951 }
		command = { type = control which = VIC value = 1072 }
		command = { type = control which = VIC value = 1026 }
		command = { type = control which = VIC value = 1025 }
		command = { type = control which = VIC value = 1030 }
		command = { type = control which = VIC value = 1024 }
		command = { type = control which = VIC value = 1079 }
		command = { type = control which = VIC value = 1082 }
		command = { type = control which = VIC value = 1080 }
		command = { type = control which = VIC value = 1077 }
		command = { type = control which = VIC value = 1078 }
		command = { type = control which = VIC value = 1004 }
		command = { type = control which = VIC value = 1005 }
		command = { type = control which = VIC value = 1003 }
		command = { type = control which = VIC value = 1006 }
		command = { type = control which = VIC value = 1007 }
		command = { type = control which = VIC value = 1012 }
		command = { type = control which = VIC value = 1011 }
		command = { type = control which = VIC value = 1022 }
		command = { type = control which = VIC value = 1023 }
	}
}

#########################################################################
#  Spanish Civil War - Intervention
#########################################################################
event = { 
	id = 2901
	random = no
	country = ITA
	
	# Triggered by SPA 3001
	
	name = "EVT_2901_NAME"
	desc = "EVT_2901_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2901A" # Send materiel and volunteers
		command = { type = manpowerpool value = -30 }
		command = { type = dissent value = -5 }
		command = { type = supplies value = -2500 }
		command = { type = gain_tech which = 11003 }
		command = { type = gain_tech which = 11518 }
		command = { type = gain_tech which = 11100 }
		command = { type = trigger which = 3003 } #SPA
		command = { type = trigger which = 3720 } #USA
	}
	action_b = {
		name = "ACTIONNAME2901B" # Franco needs no aid
		command = { type = dissent value = 5 }
	}
}

#########################################################################
#  Annexation of Albania
#########################################################################
event = { 
	id = 2902
	random = no
	country = ITA
	
	trigger = {
		exists = ALB
#		OR = {
#			event = 2006 # Germany annexes Bohemia and Moravia - Mussolini feels he must not be outdone...
#			event = 2011
#		}
		NOT = {
			alliance = { country = ALB country = ITA }
			alliance = { country = ALB country = SOV }
			alliance = { country = ALB country = ENG }
			war = { country = ALB country = ITA }
			}
	}
		
	name = "EVT_2902_NAME"
	desc = "EVT_2902_DESC"
	style = 0
	
	date = { day = 25 month = march year = 1939 }
	
	action_a = {
		name = "ACTIONNAME2902A" # Send an Ultimatum to King Zog
		command = { type = trigger which = 3500 } #Alb
		command = { type = addcore  which = 754 } # Italy claims Albania
		command = { type = addcore  which = 820 } # Italy claims Albania
	}
	action_b = {
		name = "ACTIONNAME2902B" # We have no need of Albania
		command = { }
	}
}
#########################################################################
#  Annexation of Albania - Zog refuses
#########################################################################
event = { 
	id = 2903
	random = no
	country = ITA
	
	# Triggered by ALB 3500

	name = "EVT_2903_NAME"
	desc = "EVT_2903_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2903A" # Declare War
		command = { type = war which = ALB }
		command = { type = add_division which = transports }
		command = { type = add_division which = transports }
		command = { type = add_division which = transports }
		command = { type = dissent value = -4 } # enthusiasm for war
	}
	action_b = {
		name = "ACTIONNAME2903B" # We do not dare follow through
		command = { type = dissent value = 5 }
	}
}
#########################################################################
#  Annexation of Albania - Zog accepts
#########################################################################
event = { 
	id = 2904
	random = no
	country = ITA
	
	# Triggered by ALB 3500

	name = "EVT_2904_NAME"
	desc = "EVT_2904_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Great!
		command = { type = inherit which = ALB }
		command = { type = dissent value = -5 }
	}
}